<template>
  <div>
    <Header v-if="isShow" />
    <button @click="isShow = true">展示Header</button>
  </div>
</template>

<script>
export default {
 name: "App",
 components :  {
    Header: () =>{
         return import("./components/Header.vue");
    }
 },
 data() {
    return {
        isShow: false,
    }
 }
}
</script>

<style>

</style>